package com.guet.niit.Admin.pojo;

import java.util.SplittableRandom;

public class ChargingPile {
    private Long station_id;//归属充电站ID

    private int id;//充电桩id

    private Double service_charge;//服务电量

    private int type;//服务类型（1为快充，0为慢充）

    private Double price;//服务费

    private int status;//充电桩状态（1为启用，0为禁用）


    public long getStation_id(){return station_id;}

    public void setStation_id(Long station_id) {
        this.station_id = station_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }



    public Double getService_charge() {
        return service_charge;
    }

    public int getType() {
        return type;
    }

    public Double getPrice() {
        return price;
    }

    public int getStatus() {
        return status;
    }


    public void setService_charge(Double service_charge) {
        this.service_charge = service_charge;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ChargingPile(Long station_id, int id, Double service_charge, int type, Double price, int status) {
        this.station_id = station_id;
        this.id = id;
        this.service_charge = service_charge;
        this.type = type;
        this.price = price;
        this.status = status;
    }

    public ChargingPile(Long station_id, Double service_charge, int type, Double price, int status) {
        this.station_id = station_id;
        this.service_charge = service_charge;
        this.type = type;
        this.price = price;
        this.status = status;
    }


    @Override
    public String toString() {
        return "ChargingPile{" +
                "station_id=" + station_id +
                ", id=" + id +
                ", service_charge=" + service_charge +
                ", type=" + type +
                ", price=" + price +
                ", status=" + status +
                '}';
    }

}
